
import Vue from 'vue'
import Vuex from 'vuex'

import userModules from './modules/user'
import cartModules from './modules/cart'
Vue.use(Vuex)

    // 根store
 const store = new Vuex.Store({
     modules: {
         user: userModules,
         cart:cartModules
     }
 })

 export default store